package com.virus.mall.service;

import com.virus.mall.model.bo.*;
import com.virus.mall.model.vo.GetOrderByStateVo;
import com.virus.mall.model.vo.OrderVo;
import com.virus.mall.model.vo.OrdersByPageVo;
import com.virus.mall.model.vo.OrdersVo;

import java.util.List;

/**
 * @Classname OrdersService
 * @Description NULL
 * @Date 2021/4/19 14:10
 * @Created by virus
 */
public interface OrdersService {

    OrdersByPageVo orderByPage(OrdersByPageBo ordersByPageBo);

    OrderVo order(Integer id);

    boolean changeOrder(ChangeOrderBo changeOrderBo);

    boolean deleteOrder(Integer id);

    List<OrdersVo> orders(Integer state);

    boolean addOrder(AddOrderBo addOrderBo);

    List<GetOrderByStateVo> getOrderByState(Integer state, String token);

    boolean settleAccounts(SettleAccountsBo settleAccountsBo);

    boolean pay(Integer id);

    boolean confirmReceive(Integer id);

    boolean sendComment(SendCommentBo sendCommentBo);
}
